﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.DataContract.Models
{
    /// <summary>
    /// 商家机器人开关配置
    /// </summary>
    [Serializable]
    public class MerchantRobotSwitchInfoModel
    {
        /// <summary>
        /// 主键Id
        /// </summary>
        [JsonProperty("id"), JsonPropertyName("id")]
        public int Id { get; set; }

        /// <summary>
        /// 朋友圈权限开关
        /// </summary>
        [JsonProperty("moments_switch"), JsonPropertyName("moments_switch")]
        public bool MomentsSwitch { get; set; }

        /// <summary>
        /// 备用号开关
        /// </summary>
        [JsonProperty("backup_switch"), JsonPropertyName("backup_switch")]
        public bool BackupSwitch { get; set; }

        /// <summary>
        /// 基础属性开关(例如：头像)
        /// </summary>
        [JsonProperty("property_switch"), JsonPropertyName("property_switch")]
        public bool PropertySwitch { get; set; }
    }
}